
package com.hexinfo.dmpro.admin.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hexinfo.dmpro.admin.model.SysJob;
import com.hexinfo.dmpro.admin.dao.SysJobMapper;
import org.springframework.stereotype.Service;

/**
 * 岗位表
 *
 * @author zhouax
 * @date 2023-08-09 14:06:39
 */
@Service
public class SysJobService extends ServiceImpl<SysJobMapper, SysJob> {

    public Page queryList(Page page, SysJob sysJob) {
        LambdaQueryWrapper<SysJob> wrapper = Wrappers.lambdaQuery();
        wrapper.select();
        Page returnPage = this.baseMapper.selectPage(page, wrapper);
        return returnPage;
    }
}
